package com.lulalei.dbviewer.vo;


import com.lulalei.dbviewer.commons.api.PageBean;

import java.util.List;

public abstract class PageVO<T> extends PageBean {

    private Integer total;

    public abstract List<T> getData();

    public void set(PageBean pageBean){
        super.setPage(pageBean.getPage());
        super.setPageSize(pageBean.getPageSize());
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}
